From 79ce8812b6ccfe8ab1e0d684c57de9dfa51e575e Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Thu, 1 Mar 2012 17:29:12 +0000 Subject: [PATCH] * (bug 34849) Diff when editing an old version show the comparison with the current text again --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 8c0e8f25b9..f5057e8d7c 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -2311,7 +2311,7 @@ HTML function showDiff() { global $wgUser, $wgContLang, $wgParser, $wgOut; - $oldtext = $this->getOriginalContent(); + $oldtext = $this->mArticle->getRawText(); $newtext = $this->mArticle->replaceSection( $this->section, $this->textbox1, $this->summary, $this->edittime ); -- 2.20.1